﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace SDF.Primitives
{
    public class SmartDataObjectCollectionEventArgs<T> : EventArgs where T : class, ISmartDataObject
    {
        #region Constructor

        public SmartDataObjectCollectionEventArgs(T item)
        {
            if (item == null)
                throw new ArgumentNullException("item");

            Item = item;
        }

        #endregion

        #region Properties

        public T Item { get; private set; }

        #endregion
    }
}
